import { Toast } from 'antd-mobile'
import axios from 'axios'

axios.interceptors.request.use(function(config){
  Toast.loading('拼命加载中请稍后',0)
  return config
})

axios.interceptors.response.use(function (config) {
  Toast.hide()
  return config
})